package com.zhuoshi.mapper;

import java.util.List;

import com.zhuoshi.bean.WdHtRoom;

public interface WdHtRoomMapper {
    int deleteByPrimaryKey(String roomId);

    int insert(WdHtRoom record);

    int insertSelective(WdHtRoom record);

    WdHtRoom selectByPrimaryKey(String roomId);

    int updateByPrimaryKeySelective(WdHtRoom record);

    int updateByPrimaryKey(WdHtRoom record);
    
    List<WdHtRoom> selectRoomInOpen(String openId);
    
    List<WdHtRoom> selectRoomNotInOpen();
    
    void addRoomInOpen(WdHtRoom room);
    
    void addAllRoomInOpen(String openId);
    
    void removeRoomInOpen(WdHtRoom room);
    
    void removeAllRoomInOpen(String openId);
    
    List<WdHtRoom> selectAll(WdHtRoom room);
    
    
    int insertByList(List<WdHtRoom> roomList);
    
    
    List<WdHtRoom> selectAllRoom(WdHtRoom record);
}